package com.wyw.function.learning.common;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @Title   菜单数据结构
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * Update History:
 * Author        Time            Content
 */
@Data
@AllArgsConstructor
public class Dish {
    // 菜名
    private final String name;
    // 是不是素材
    private final boolean vegetarian;
    // 卡路里
    private final int calories;
    // 类型
    private  final Type type;

    public enum Type {
        MEAT, FISH, OTHER
    }

}
